import React from 'react';
import styles from './styles.module.scss';
export function IconContent({
  onClick,
  isSelected,
  children,
  style,
  disabled,
}: {
  onClick?: () => void;
  isSelected?: boolean;
  children: React.ReactNode;
  style?: React.CSSProperties;
  disabled?: boolean;
}) {
  return (
    <div
      onClick={onClick}
      style={{ ...style }}
      className={`${isSelected && styles._select_field_active} ${styles._select_field_pick} ${disabled && styles._select_field_disabled}`}>
      {children}
    </div>
  );
}
